projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06274af
)
(concat): Fix bug in concatinating a list of multibyte and
author
Kenichi Handa
<handa@m17n.org>
Mon, 18 May 1998 00:59:38 +0000
(
00:59
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 18 May 1998 00:59:38 +0000
(
00:59
+0000)
unibyte characters.
src/fns.c
patch
|
blob
|
history
diff --git
a/src/fns.c
b/src/fns.c
index 404f9976544b78fccb14ec405be527e47557fa09..51eec4d472c4a70d6482cbd8e649718a4389e787 100644
(file)
--- a/
src/fns.c
+++ b/
src/fns.c
@@
-731,8
+731,8
@@
concat (nargs, args, target_type, last_special)
CHECK_NUMBER (elt, 0);
if (SINGLE_BYTE_CHAR_P (XINT (elt)))
{
- XSTRING (val)->data[toindex++] = XINT (elt);
- toindex
_byte
++;
+ XSTRING (val)->data[toindex
_byte
++] = XINT (elt);
+ toindex++;
}
else
/* If we have any multibyte characters,